package com.nju.bean.cloud;

import java.util.ArrayList;

public class Test {
	public static void main(String[] args) {
		ArrayList<Dot> dotList = new ArrayList<Dot> ();
		Dot d1 = new Dot(0,0,"1");
		dotList.add(d1);
		dotList.add(new Dot(0,1,"2"));
		dotList.add(new Dot(0,0,"3"));

		RelationMatrix rm = new RelationMatrix(dotList,0);
		
		System.out.print(d1.getCloud(dotList, 10).get(0).obj);
		d1.inACloud(d1, dotList, 10);
		rm.print();
	}
}